package com.da.javatest.interview.session1;

/**
 * @author chenlida
 * @date 2020/3/25 17:03
 * @description
 */
public class Test01 {
    public static void main(String[] args) {
        int i = 1;
        // 下面为i入操作数栈为1，然后再自增变成2，最后赋值又把1覆盖了2
        i = i++;
        int j = i++;
        int k = i + ++i * i++;
        // i = 4, j = 1, k = 11
        System.out.println("i = " + i);
        System.out.println("j = " + j);
        System.out.println("k = " + k);
    }
}
